-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[release] 20241125 #2604
Merged
Merged
[release] 20241125 #2604
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stwiname
reviewed
Nov 25, 2024
packages/utils/package.json
Outdated
@@ -1,6 +1,6 @@ | |||
{ | |||
"name": "@subql/utils", | |||
"version": "2.15.1-0", | |||
"version": "2.15.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this needs to be a minor version bump
stwiname
approved these changes
Nov 25, 2024
Coverage report for
|
St.❔ |
Category | Percentage | Covered / Total |
---|---|---|---|
🟡 | Statements | 66.54% (-3.56% 🔻) |
20283/30481 |
🟡 | Branches | 79.44% (+1.15% 🔼) |
2755/3468 |
🟡 | Functions | 69.03% (+6.53% 🔼) |
1130/1637 |
🟡 | Lines | 66.54% (-3.56% 🔻) |
20283/30481 |
⚠️ Details were not displayed: the report size has exceeded the limit.
Test suite run failed
Failed tests: 19/599. Failed suites: 5/107.
● Dictionary V1 › coreDictionary › set startHeight of this dictionary
ApolloError: Response not successful: Received status code 500
at new ApolloError (node_modules/@apollo/client/errors/index.js:40:28)
at node_modules/@apollo/client/core/QueryManager.js:777:71
at both (node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31)
at node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72
at Object.then (node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24)
at Object.error (node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49)
at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18)
at onNotify (node_modules/zen-observable/lib/Observable.js:179:3)
at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7)
at node_modules/@apollo/client/utilities/observables/iteration.js:7:68
at Array.forEach (<anonymous>)
at iterateObserversSafely (node_modules/@apollo/client/utilities/observables/iteration.js:7:25)
at Object.error (node_modules/@apollo/client/utilities/observables/Concast.js:76:21)
at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18)
at onNotify (node_modules/zen-observable/lib/Observable.js:179:3)
at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7)
at handleError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:170:14)
at node_modules/@apollo/client/link/http/createHttpLink.js:145:17
Cause:
ServerError: Response not successful: Received status code 500
at Object.throwServerError (node_modules/@apollo/client/link/utils/throwServerError.js:2:17)
at throwServerError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9)
at node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48
● Dictionary V1 › coreDictionary › validateChainMeta and useDictionary
ApolloError: Response not successful: Received status code 500
at new ApolloError (node_modules/@apollo/client/errors/index.js:40:28)
at node_modules/@apollo/client/core/QueryManager.js:777:71
at both (node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31)
at node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72
at Object.then (node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24)
at Object.error (node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49)
at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18)
at onNotify (node_modules/zen-observable/lib/Observable.js:179:3)
at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7)
at node_modules/@apollo/client/utilities/observables/iteration.js:7:68
at Array.forEach (<anonymous>)
at iterateObserversSafely (node_modules/@apollo/client/utilities/observables/iteration.js:7:25)
at Object.error (node_modules/@apollo/client/utilities/observables/Concast.js:76:21)
at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18)
at onNotify (node_modules/zen-observable/lib/Observable.js:179:3)
at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7)
at handleError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:170:14)
at node_modules/@apollo/client/link/http/createHttpLink.js:145:17
Cause:
ServerError: Response not successful: Received status code 500
at Object.throwServerError (node_modules/@apollo/client/link/utils/throwServerError.js:2:17)
at throwServerError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9)
at node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48
● Dictionary V1 › coreDictionary › validate dictionary with a height
ApolloError: Response not successful: Received status code 500
at new ApolloError (node_modules/@apollo/client/errors/index.js:40:28)
at node_modules/@apollo/client/core/QueryManager.js:777:71
at both (node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31)
at node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72
at Object.then (node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24)
at Object.error (node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49)
at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18)
at onNotify (node_modules/zen-observable/lib/Observable.js:179:3)
at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7)
at node_modules/@apollo/client/utilities/observables/iteration.js:7:68
at Array.forEach (<anonymous>)
at iterateObserversSafely (node_modules/@apollo/client/utilities/observables/iteration.js:7:25)
at Object.error (node_modules/@apollo/client/utilities/observables/Concast.js:76:21)
at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18)
at onNotify (node_modules/zen-observable/lib/Observable.js:179:3)
at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7)
at handleError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:170:14)
at node_modules/@apollo/client/link/http/createHttpLink.js:145:17
Cause:
ServerError: Response not successful: Received status code 500
at Object.throwServerError (node_modules/@apollo/client/link/utils/throwServerError.js:2:17)
at throwServerError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9)
at node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48
● Dictionary V1 › coreDictionary › able to build queryEntryMap
ApolloError: Response not successful: Received status code 500
at new ApolloError (node_modules/@apollo/client/errors/index.js:40:28)
at node_modules/@apollo/client/core/QueryManager.js:777:71
at both (node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31)
at node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72
at Object.then (node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24)
at Object.error (node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49)
at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18)
at onNotify (node_modules/zen-observable/lib/Observable.js:179:3)
at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7)
at node_modules/@apollo/client/utilities/observables/iteration.js:7:68
at Array.forEach (<anonymous>)
at iterateObserversSafely (node_modules/@apollo/client/utilities/observables/iteration.js:7:25)
at Object.error (node_modules/@apollo/client/utilities/observables/Concast.js:76:21)
at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18)
at onNotify (node_modules/zen-observable/lib/Observable.js:179:3)
at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7)
at handleError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:170:14)
at node_modules/@apollo/client/link/http/createHttpLink.js:145:17
Cause:
ServerError: Response not successful: Received status code 500
at Object.throwServerError (node_modules/@apollo/client/link/utils/throwServerError.js:2:17)
at throwServerError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9)
at node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48
● Dictionary V1 › coreDictionary › can use scoped dictionary query
ApolloError: Response not successful: Received status code 500
at new ApolloError (node_modules/@apollo/client/errors/index.js:40:28)
at node_modules/@apollo/client/core/QueryManager.js:777:71
at both (node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31)
at node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72
at Object.then (node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24)
at Object.error (node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49)
at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18)
at onNotify (node_modules/zen-observable/lib/Observable.js:179:3)
at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7)
at node_modules/@apollo/client/utilities/observables/iteration.js:7:68
at Array.forEach (<anonymous>)
at iterateObserversSafely (node_modules/@apollo/client/utilities/observables/iteration.js:7:25)
at Object.error (node_modules/@apollo/client/utilities/observables/Concast.js:76:21)
at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18)
at onNotify (node_modules/zen-observable/lib/Observable.js:179:3)
at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7)
at handleError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:170:14)
at node_modules/@apollo/client/link/http/createHttpLink.js:145:17
Cause:
ServerError: Response not successful: Received status code 500
at Object.throwServerError (node_modules/@apollo/client/link/utils/throwServerError.js:2:17)
at throwServerError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9)
at node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48
● Dictionary V1 › coreDictionary › able to getDicitonaryQueryEntries
ApolloError: Response not successful: Received status code 500
at new ApolloError (node_modules/@apollo/client/errors/index.js:40:28)
at node_modules/@apollo/client/core/QueryManager.js:777:71
at both (node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31)
at node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72
at Object.then (node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24)
at Object.error (node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49)
at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18)
at onNotify (node_modules/zen-observable/lib/Observable.js:179:3)
at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7)
at node_modules/@apollo/client/utilities/observables/iteration.js:7:68
at Array.forEach (<anonymous>)
at iterateObserversSafely (node_modules/@apollo/client/utilities/observables/iteration.js:7:25)
at Object.error (node_modules/@apollo/client/utilities/observables/Concast.js:76:21)
at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18)
at onNotify (node_modules/zen-observable/lib/Observable.js:179:3)
at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7)
at handleError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:170:14)
at node_modules/@apollo/client/link/http/createHttpLink.js:145:17
Cause:
ServerError: Response not successful: Received status code 500
at Object.throwServerError (node_modules/@apollo/client/link/utils/throwServerError.js:2:17)
at throwServerError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9)
at node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48
● Dictionary V1 › get metadata
ApolloError: Response not successful: Received status code 500
at new ApolloError (node_modules/@apollo/client/errors/index.js:40:28)
at node_modules/@apollo/client/core/QueryManager.js:777:71
at both (node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31)
at node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72
at Object.then (node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24)
at Object.error (node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49)
at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18)
at onNotify (node_modules/zen-observable/lib/Observable.js:179:3)
at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7)
at node_modules/@apollo/client/utilities/observables/iteration.js:7:68
at Array.forEach (<anonymous>)
at iterateObserversSafely (node_modules/@apollo/client/utilities/observables/iteration.js:7:25)
at Object.error (node_modules/@apollo/client/utilities/observables/Concast.js:76:21)
at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18)
at onNotify (node_modules/zen-observable/lib/Observable.js:179:3)
at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7)
at handleError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:170:14)
at node_modules/@apollo/client/link/http/createHttpLink.js:145:17
Cause:
ServerError: Response not successful: Received status code 500
at Object.throwServerError (node_modules/@apollo/client/link/utils/throwServerError.js:2:17)
at throwServerError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9)
at node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48
● Dictionary V1 › init metadata and get metadata
ApolloError: Response not successful: Received status code 500
at new ApolloError (node_modules/@apollo/client/errors/index.js:40:28)
at node_modules/@apollo/client/core/QueryManager.js:777:71
at both (node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31)
at node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72
at Object.then (node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24)
at Object.error (node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49)
at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18)
at onNotify (node_modules/zen-observable/lib/Observable.js:179:3)
at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7)
at node_modules/@apollo/client/utilities/observables/iteration.js:7:68
at Array.forEach (<anonymous>)
at iterateObserversSafely (node_modules/@apollo/client/utilities/observables/iteration.js:7:25)
at Object.error (node_modules/@apollo/client/utilities/observables/Concast.js:76:21)
at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18)
at onNotify (node_modules/zen-observable/lib/Observable.js:179:3)
at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7)
at handleError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:170:14)
at node_modules/@apollo/client/link/http/createHttpLink.js:145:17
Cause:
ServerError: Response not successful: Received status code 500
at Object.throwServerError (node_modules/@apollo/client/link/utils/throwServerError.js:2:17)
at throwServerError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9)
at node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48
● Dictionary V1 › return dictionary query result
ApolloError: Response not successful: Received status code 500
at new ApolloError (node_modules/@apollo/client/errors/index.js:40:28)
at node_modules/@apollo/client/core/QueryManager.js:777:71
at both (node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31)
at node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72
at Object.then (node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24)
at Object.error (node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49)
at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18)
at onNotify (node_modules/zen-observable/lib/Observable.js:179:3)
at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7)
at node_modules/@apollo/client/utilities/observables/iteration.js:7:68
at Array.forEach (<anonymous>)
at iterateObserversSafely (node_modules/@apollo/client/utilities/observables/iteration.js:7:25)
at Object.error (node_modules/@apollo/client/utilities/observables/Concast.js:76:21)
at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18)
at onNotify (node_modules/zen-observable/lib/Observable.js:179:3)
at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7)
at handleError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:170:14)
at node_modules/@apollo/client/link/http/createHttpLink.js:145:17
Cause:
ServerError: Response not successful: Received status code 500
at Object.throwServerError (node_modules/@apollo/client/link/utils/throwServerError.js:2:17)
at throwServerError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9)
at node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48
● Dictionary V1 › should return undefined startblock height greater than dictionary last processed height
ApolloError: Response not successful: Received status code 500
at new ApolloError (node_modules/@apollo/client/errors/index.js:40:28)
at node_modules/@apollo/client/core/QueryManager.js:777:71
at both (node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31)
at node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72
at Object.then (node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24)
at Object.error (node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49)
at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18)
at onNotify (node_modules/zen-observable/lib/Observable.js:179:3)
at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7)
at node_modules/@apollo/client/utilities/observables/iteration.js:7:68
at Array.forEach (<anonymous>)
at iterateObserversSafely (node_modules/@apollo/client/utilities/observables/iteration.js:7:25)
at Object.error (node_modules/@apollo/client/utilities/observables/Concast.js:76:21)
at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18)
at onNotify (node_modules/zen-observable/lib/Observable.js:179:3)
at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7)
at handleError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:170:14)
at node_modules/@apollo/client/link/http/createHttpLink.js:145:17
Cause:
ServerError: Response not successful: Received status code 500
at Object.throwServerError (node_modules/@apollo/client/link/utils/throwServerError.js:2:17)
at throwServerError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9)
at node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48
● Dictionary V1 › should use metadata last process height at end of query height
ApolloError: Response not successful: Received status code 500
at new ApolloError (node_modules/@apollo/client/errors/index.js:40:28)
at node_modules/@apollo/client/core/QueryManager.js:777:71
at both (node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31)
at node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72
at Object.then (node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24)
at Object.error (node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49)
at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18)
at onNotify (node_modules/zen-observable/lib/Observable.js:179:3)
at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7)
at node_modules/@apollo/client/utilities/observables/iteration.js:7:68
at Array.forEach (<anonymous>)
at iterateObserversSafely (node_modules/@apollo/client/utilities/observables/iteration.js:7:25)
at Object.error (node_modules/@apollo/client/utilities/observables/Concast.js:76:21)
at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18)
at onNotify (node_modules/zen-observable/lib/Observable.js:179:3)
at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7)
at handleError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:170:14)
at node_modules/@apollo/client/link/http/createHttpLink.js:145:17
Cause:
ServerError: Response not successful: Received status code 500
at Object.throwServerError (node_modules/@apollo/client/link/utils/throwServerError.js:2:17)
at throwServerError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9)
at node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48
● Individual dictionary V1 test › test query the correct range
expect(received).toEqual(expected) // deep equality
Expected: [1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1009, …]
Received: undefined
249 | const endBlock = 10001;
250 | const dic = await dictionary.getData(startBlock, endBlock, batchSize);
> 251 | expect(dic?.batchBlocks).toEqual(range(startBlock, startBlock + batchSize));
| ^
252 | });
253 |
254 | it('use minimum value of event/extrinsic returned block as batch end block', async () => {
at Object.<anonymous> (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:251:30)
● Individual dictionary V1 test › use minimum value of event/extrinsic returned block as batch end block
ApolloError: Response not successful: Received status code 500
at new ApolloError (node_modules/@apollo/client/errors/index.js:40:28)
at node_modules/@apollo/client/core/QueryManager.js:777:71
at both (node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31)
at node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72
at Object.then (node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24)
at Object.error (node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49)
at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18)
at onNotify (node_modules/zen-observable/lib/Observable.js:179:3)
at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7)
at node_modules/@apollo/client/utilities/observables/iteration.js:7:68
at Array.forEach (<anonymous>)
at iterateObserversSafely (node_modules/@apollo/client/utilities/observables/iteration.js:7:25)
at Object.error (node_modules/@apollo/client/utilities/observables/Concast.js:76:21)
at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18)
at onNotify (node_modules/zen-observable/lib/Observable.js:179:3)
at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7)
at handleError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:170:14)
at node_modules/@apollo/client/link/http/createHttpLink.js:145:17
Cause:
ServerError: Response not successful: Received status code 500
at Object.throwServerError (node_modules/@apollo/client/link/utils/throwServerError.js:2:17)
at throwServerError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9)
at node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48
● Substrate DictionaryService › should return all specVersion
expect(received).toBeGreaterThan(expected)
Expected: > 0
Received: 0
55 | const specVersions = await dictionaryService.getSpecVersions();
56 |
> 57 | expect(specVersions?.length).toBeGreaterThan(0);
| ^
58 | dictionaryService.onApplicationShutdown();
59 | }, 50000);
60 | });
at Object.<anonymous> (packages/node/src/indexer/dictionary/v1/substrateDictionaryV1.spec.ts:57:34)
● Test suite failed to run
TypeError: Class extends value undefined is not a constructor or null
84 | }
85 |
> 86 | class DsPluginSandbox<P> extends Sandbox {
| ^
87 | constructor(option: Omit<SandboxOption, 'store'>, nodeConfig: NodeConfig) {
88 | super(
89 | option,
at Object.<anonymous> (packages/node-core/src/indexer/ds-processor.service.ts:86:34)
at Object.<anonymous> (packages/node-core/src/indexer/indexer.manager.ts:13:1)
at Object.<anonymous> (packages/node-core/src/indexer/index.ts:23:1)
at Object.<anonymous> (packages/node-core/src/db/migration-service/SchemaMigration.service.ts:8:1)
at Object.<anonymous> (packages/node-core/src/db/migration-service/index.ts:5:1)
at Object.<anonymous> (packages/node-core/src/db/index.ts:5:1)
at Object.<anonymous> (packages/node-core/src/utils/graphql.ts:19:1)
at Object.<anonymous> (packages/node-core/src/utils/index.ts:7:1)
at Object.<anonymous> (packages/node-core/src/indexer/sandbox.ts:14:1)
at Object.<anonymous> (packages/node-core/src/indexer/sandbox.spec.ts:6:1)
● CLI deploy, delete, promote › reDeploy to Hosted Service
thrown: "Exceeded timeout of 120000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
152 | });
153 |
> 154 | it('reDeploy to Hosted Service', async () => {
| ^
155 | const {ipfs, org, projectName, type} = projectSpec;
156 | const newIPFS = 'QmbKvrzwSmzTZi5jrhEpa6yDDHQXRURi5S4ztLgJLpBxAi';
157 | const validator = await ipfsCID_validate(projectSpec.ipfs, testAuth, ROOT_API_URL_PROD);
at packages/cli/src/controller/deploy-controller.test.ts:154:3
at Object.<anonymous> (packages/cli/src/controller/deploy-controller.test.ts:79:1)
● Cli publish › should upload appropriate project to IPFS
[tsl] ERROR in /tmp/oAN21r/multi_mocked_starter/src/types/models/ClaimRecord.ts(75,48)
TS2558: Expected 0 type arguments, but got 1.
[tsl] ERROR in /tmp/oAN21r/multi_mocked_starter/src/types/models/ClaimRecord.ts(81,48)
TS2558: Expected 0 type arguments, but got 1.
[tsl] ERROR in /tmp/oAN21r/multi_mocked_starter/src/types/models/ForgeRecord.ts(81,48)
TS2558: Expected 0 type arguments, but got 1.
[tsl] ERROR in /tmp/oAN21r/multi_mocked_starter/src/types/models/ForgeRecord.ts(87,48)
TS2558: Expected 0 type arguments, but got 1.
[tsl] ERROR in /tmp/oAN21r/multi_mocked_starter/src/types/models/NFT.ts(63,48)
TS2558: Expected 0 type arguments, but got 1.
[tsl] ERROR in /tmp/oAN21r/multi_mocked_starter/src/types/models/NFT.ts(69,48)
TS2558: Expected 0 type arguments, but got 1.
44 | const outputDir = path.resolve(directory, flags.output ?? 'dist');
45 |
> 46 | await runWebpack(buildEntries, directory, outputDir, isDev, true);
| ^
47 | if (!flags.silent) {
48 | this.log('Building and packing code ...');
49 | this.log('Done!');
at Object.error (node_modules/@oclif/core/lib/errors/index.js:27:15)
at Build.error (node_modules/@oclif/core/lib/command.js:139:23)
at Build.run (packages/cli/src/commands/build/index.ts:46:18)
at async Build._run (node_modules/@oclif/core/lib/command.js:117:22)
at async createMultiChainTestProject (packages/cli/src/createProject.fixtures.ts:89:5)
at async Promise.all (index 1)
at async Object.<anonymous> (packages/cli/src/controller/publish-controller.spec.ts:18:21)
● Cli publish › convert to deployment and removed descriptive field
[tsl] ERROR in /tmp/oAN21r/multi_mocked_starter/src/types/models/ClaimRecord.ts(75,48)
TS2558: Expected 0 type arguments, but got 1.
[tsl] ERROR in /tmp/oAN21r/multi_mocked_starter/src/types/models/ClaimRecord.ts(81,48)
TS2558: Expected 0 type arguments, but got 1.
[tsl] ERROR in /tmp/oAN21r/multi_mocked_starter/src/types/models/ForgeRecord.ts(81,48)
TS2558: Expected 0 type arguments, but got 1.
[tsl] ERROR in /tmp/oAN21r/multi_mocked_starter/src/types/models/ForgeRecord.ts(87,48)
TS2558: Expected 0 type arguments, but got 1.
[tsl] ERROR in /tmp/oAN21r/multi_mocked_starter/src/types/models/NFT.ts(63,48)
TS2558: Expected 0 type arguments, but got 1.
[tsl] ERROR in /tmp/oAN21r/multi_mocked_starter/src/types/models/NFT.ts(69,48)
TS2558: Expected 0 type arguments, but got 1.
44 | const outputDir = path.resolve(directory, flags.output ?? 'dist');
45 |
> 46 | await runWebpack(buildEntries, directory, outputDir, isDev, true);
| ^
47 | if (!flags.silent) {
48 | this.log('Building and packing code ...');
49 | this.log('Done!');
at Object.error (node_modules/@oclif/core/lib/errors/index.js:27:15)
at Build.error (node_modules/@oclif/core/lib/command.js:139:23)
at Build.run (packages/cli/src/commands/build/index.ts:46:18)
at async Build._run (node_modules/@oclif/core/lib/command.js:117:22)
at async createMultiChainTestProject (packages/cli/src/createProject.fixtures.ts:89:5)
at async Promise.all (index 1)
at async Object.<anonymous> (packages/cli/src/controller/publish-controller.spec.ts:18:21)
● Cli publish › convert js object to JSON object
[tsl] ERROR in /tmp/oAN21r/multi_mocked_starter/src/types/models/ClaimRecord.ts(75,48)
TS2558: Expected 0 type arguments, but got 1.
[tsl] ERROR in /tmp/oAN21r/multi_mocked_starter/src/types/models/ClaimRecord.ts(81,48)
TS2558: Expected 0 type arguments, but got 1.
[tsl] ERROR in /tmp/oAN21r/multi_mocked_starter/src/types/models/ForgeRecord.ts(81,48)
TS2558: Expected 0 type arguments, but got 1.
[tsl] ERROR in /tmp/oAN21r/multi_mocked_starter/src/types/models/ForgeRecord.ts(87,48)
TS2558: Expected 0 type arguments, but got 1.
[tsl] ERROR in /tmp/oAN21r/multi_mocked_starter/src/types/models/NFT.ts(63,48)
TS2558: Expected 0 type arguments, but got 1.
[tsl] ERROR in /tmp/oAN21r/multi_mocked_starter/src/types/models/NFT.ts(69,48)
TS2558: Expected 0 type arguments, but got 1.
44 | const outputDir = path.resolve(directory, flags.output ?? 'dist');
45 |
> 46 | await runWebpack(buildEntries, directory, outputDir, isDev, true);
| ^
47 | if (!flags.silent) {
48 | this.log('Building and packing code ...');
49 | this.log('Done!');
at Object.error (node_modules/@oclif/core/lib/errors/index.js:27:15)
at Build.error (node_modules/@oclif/core/lib/command.js:139:23)
at Build.run (packages/cli/src/commands/build/index.ts:46:18)
at async Build._run (node_modules/@oclif/core/lib/command.js:117:22)
at async createMultiChainTestProject (packages/cli/src/createProject.fixtures.ts:89:5)
at async Promise.all (index 1)
at async Object.<anonymous> (packages/cli/src/controller/publish-controller.spec.ts:18:21)
● Cli publish › Get directory CID from multi-chain project
[tsl] ERROR in /tmp/oAN21r/multi_mocked_starter/src/types/models/ClaimRecord.ts(75,48)
TS2558: Expected 0 type arguments, but got 1.
[tsl] ERROR in /tmp/oAN21r/multi_mocked_starter/src/types/models/ClaimRecord.ts(81,48)
TS2558: Expected 0 type arguments, but got 1.
[tsl] ERROR in /tmp/oAN21r/multi_mocked_starter/src/types/models/ForgeRecord.ts(81,48)
TS2558: Expected 0 type arguments, but got 1.
[tsl] ERROR in /tmp/oAN21r/multi_mocked_starter/src/types/models/ForgeRecord.ts(87,48)
TS2558: Expected 0 type arguments, but got 1.
[tsl] ERROR in /tmp/oAN21r/multi_mocked_starter/src/types/models/NFT.ts(63,48)
TS2558: Expected 0 type arguments, but got 1.
[tsl] ERROR in /tmp/oAN21r/multi_mocked_starter/src/types/models/NFT.ts(69,48)
TS2558: Expected 0 type arguments, but got 1.
44 | const outputDir = path.resolve(directory, flags.output ?? 'dist');
45 |
> 46 | await runWebpack(buildEntries, directory, outputDir, isDev, true);
| ^
47 | if (!flags.silent) {
48 | this.log('Building and packing code ...');
49 | this.log('Done!');
at Object.error (node_modules/@oclif/core/lib/errors/index.js:27:15)
at Build.error (node_modules/@oclif/core/lib/command.js:139:23)
at Build.run (packages/cli/src/commands/build/index.ts:46:18)
at async Build._run (node_modules/@oclif/core/lib/command.js:117:22)
at async createMultiChainTestProject (packages/cli/src/createProject.fixtures.ts:89:5)
at async Promise.all (index 1)
at async Object.<anonymous> (packages/cli/src/controller/publish-controller.spec.ts:18:21)
Report generated by 🧪jest coverage report action from cebf691
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.
Checklist